package edu.sctu.zhengsenwen.month201505.day20150512;

/**
 * Created by user15 on 2015/5/12.
 */
public class Information {

    public Students[] getStu(){

        Students[] a=new Students[10];

        int i;

        for(i=0;i<a.length;i++){
            Students students =new Students();
            students.setName("金木" + i);
            students.setGrade(57 + i);
            students.setStudentID(101014 + i);
            students.setAge(13+i);
            students.setAddress("东京" + i);
            if(i%2==0){
                students.setSex("女");
            } else{
                students.setSex("男");
            }
            a[i]=students;
        }
        return a;
    }
}
